add_executable(logger_test test_logger.cpp)
add_executable(threadpool_test test_threadpool.cpp)

target_include_directories(logger_test PRIVATE
        ${COMMON_DIR}/include
)
target_include_directories(threadpool_test PRIVATE
        ${COMMON_DIR}/include/ThreadPool
)

target_link_libraries(logger_test
        PRIVATE
        GTest::gtest
        GTest::gtest_main
        Threads::Threads
        common_lib
)

target_link_libraries(threadpool_test
        PRIVATE
        GTest::gtest
        GTest::gtest_main
        Threads::Threads
        common_lib
)


enable_testing()
add_test(NAME logger_test COMMAND logger_test)
add_test(NAME threadpool_test COMMAND threadpool_test)